Google's Sitemap service requires that all site maps published must be encoded in Unicode UTF-8. Google does not even allow other Unicode encodings (such as UTF-16), not to mention non-Unicode encodings such as ISO-8859-1. Technically, this means
If you need to internationalize a website, you need to convert the code from GB2312 to UTF-8, which has a lot of problems to note, if not converted thoroughly, there will be a lot of coding problems appear!There are five main areas:One.. HTML page
I. HTML page to UTF-8 encoding problem1. After head, add a line before title:The order must not be wrong, must be inThe caption displayed may be garbled!2.html file Encoding problem:Click on the Editor's menu: "File", "Save As", you can see the
The default encoding of many files is ISO-8859-1, while the default encoding of the Chinese operating system is gb18030, the project code established in this workspace is gb18030. our commonly used encoding is UTF-8, this provides better
In Eclipse+myeclipse development, the global encoding is set to UTF-8
In the use of Eclipse+myeclipse development, many file encodings are iso-8859-1 by default and do not support Chinese (such as common JSP). So every time we build a file to
Recently encountered a lot of UTF-8 problems, encountered someone summed up, summed up the good, directly turned.
Source: http://www.flashcat.com.cn/blog/read.php? 20
If a website needs to be internationalized, it needs to convert the code from
Problem description: the Program involves international issues. The data captured by httpclient is messy, after several times of encoding, you can get the source code of the normal encoding in myeclipse (accurately speaking, it can display a
There are many tools for VC to parse XML files, such as CMarkup, tinyXML, IBM, and MS.
It is said that tinyXML is very good and may have character set problems. I cannot compile it.
Therefore, CMarkup is used for parsing. after use, it is very good
PHP garbled problem, UTF-8 garbled problem is more common, through the following method basically can solve php garbled problem, indeed summed up good
I. HTML page to UTF-8 encoding problem1. add a line before the title after the head:
The order
PHP garbled problem, UTF-8 garbled problem is more common, through the following method basically can solve php garbled problem, indeed summed up good
I. HTML page to UTF-8 encoding problem1. add a line before the title after the head:
The order
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.